import defaultSettings from '@/settings'
import i18n from '@/locale'
const title = defaultSettings.title

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${i18n.t(pageTitle)} - ${i18n.t(title)}`
  }
  return `${i18n.t(title)}`
}
